﻿using OSGeo.OGR;
using RemoteSensingImageDirectServer.Models.Map.Cache;
using RemoteSensingImageDirectServer.Models.Map.Register;
using RemoteSensingImageDirectServer.Untils.ScopeSpace;

namespace RemoteSensingImageDirectServer.Untils.Source
{
    public interface IRSIGroupImageSource
    {

        void Dispose();

        /// <summary>
        /// 获取联合图层的范围
        /// </summary>
        /// <returns></returns>
        RasterEnvelope GetBoundbox();

        /// <summary>
        /// 获取坐标基准椭球坐标系的范围
        /// </summary>
        /// <returns></returns>
        RasterEnvelope GetLatLonBoundbox();

        /// <summary>
        /// 获取图层配置信息
        /// </summary>
        /// <returns></returns>
        GroupMapConfiger GetMapConfiger();

        /// <summary>
        /// 获取地图的底层级缩略图
        /// </summary>
        /// <returns></returns>
        IRSIMapSource GetThumbnail();

        /// <summary>
        /// 图层的有效性
        /// </summary>
        /// <returns></returns>
        bool Valid();
    }
}
